package com.androidx.p013lv.base.dialog;

import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;
import android.widget.TextView;
import com.alibaba.android.arouter.launcher.ARouter;
import com.androidx.p013lv.base.C1010R;
import com.androidx.p013lv.base.Constance;
import com.androidx.p013lv.base.interfaces.Key;

/* renamed from: com.androidx.lv.base.dialog.BuyVipDialog */
public class BuyVipDialog extends Dialog {
    TextView tv_cancel;
    TextView tv_go_vip;

    public BuyVipDialog(Context context) {
        super(context, C1010R.C1017style.ForceUpdateAppDialog);
        setContentView(C1010R.C1015layout.dialog_buy_vip);
        Window window = getWindow();
        WindowManager.LayoutParams attributes = window.getAttributes();
        attributes.gravity = 17;
        window.setAttributes(attributes);
        setCancelable(true);
        setCanceledOnTouchOutside(true);
        ((ImageView) findViewById(C1010R.C1013id.iv_cancel)).setOnClickListener(new View.OnClickListener() {
            /* class com.androidx.p013lv.base.dialog.BuyVipDialog.View$OnClickListenerC10201 */

            public void onClick(View view) {
                BuyVipDialog.this.dismiss();
            }
        });
        ((ImageView) findViewById(C1010R.C1013id.iv_buyvip)).setOnClickListener(new View.OnClickListener() {
            /* class com.androidx.p013lv.base.dialog.BuyVipDialog.View$OnClickListenerC10212 */

            public void onClick(View view) {
                ARouter.getInstance().build(Constance.VIP_CENTER_ACTIVITY).withString(Key.BACK_TITLE, "返回").navigation();
                BuyVipDialog.this.dismiss();
            }
        });
    }
}
